﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Member/Member.Master" AutoEventWireup="true"
    CodeBehind="Article.aspx.cs" Inherits="PlugNT.Cms.Web.Member.Article" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
    <div class="main">
        <ul class="navigation">
            <li class="first">企业动态中心</li>
            <li>企业动态管理</li>
        </ul>
        <div class="tabpanel">
            <ul class="ul-tab">
                <li class="active"><a href="Article.aspx">管理企业动态</a></li>
                <li><a href="AddArticle.aspx">发布企业动态</a></li>
            </ul>
        </div>
        <div class="tabmain">
            <div>
                <a href="AddArticle.aspx">添加企业动态</a>
                <asp:Repeater ID="entityTable" runat="server">
                    <HeaderTemplate>
                        <table class="datatable">
                            <thead>
                                <tr>
                                    <th>
                                        标题
                                    </th>
                                    <th>
                                        发布日期
                                    </th>
                                    <th>
                                        操作
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Title")%>
                            </td>
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "TimeStamp")%>
                            </td>
                            <td>
                                <a href="AddArticle.aspx?entityId=<%#DataBinder.Eval(Container.DataItem, "Id")%>">修改</a>
                                <a href="?action=delete&entityId=<%#DataBinder.Eval(Container.DataItem, "Id")%>">删除</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </tbody> </table>
                    </FooterTemplate>
                </asp:Repeater>
                <asp:Literal ID="litPager" runat="server"></asp:Literal>
            </div>
        </div>
    </div>
    </form>
</asp:Content>
